//
//  PlayerView.h
//  AVAudioPlayerDemo
//
//  Created by 小草毋正 on 2018/1/4.
//  Copyright © 2018年 C-LOVE. All rights reserved.
//


#import <UIKit/UIKit.h>



@protocol PlayerViewProtocol <NSObject>

@optional
- (void)playerToProgress:(float)progress;
- (void)playerViewNext;
- (void)playerViewPersious;
- (BOOL)playerViewPlaying;

@end



@interface PlayerView : UIView

@property (nonatomic, weak) id <PlayerViewProtocol> delegate;

@property (nonatomic, assign) NSInteger totalSecond;
@property (nonatomic, assign) NSInteger curentSecond; 

@property (nonatomic, assign) BOOL playing;

@end


